package net.zhnb.service;

import java.util.List;

import net.zhnb.bean.Room;
import net.zhnb.bean.RoomKey;
import finaler.util.Page;
import finaler.util.PageList;

public interface RoomService {

    public boolean insert(Room room) throws Exception ;

    public boolean deleteByKey(RoomKey key) throws Exception ;
    
    public boolean update(Room room) throws Exception ;
    
    public Room findByKey(RoomKey key) throws Exception ;

	public List<Room> findAll() throws Exception;
	
	public PageList getPageList(Page page) throws Exception;
}
